BaseSubsystem.GetAllWordVariables 方法

取得使用者定义变数的清单(无符号短整数)。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
ReadOnlyCollection<IUserVariable<ushort>> GetAllWordVariables(
       IUserVariable Parent = null
)
Function GetAllWordVariables(
       Parent = null As IUserVariable
) As ReadOnlyCollection(Of IUserVariable(Of UShort))

参数

Parent

型别:IUserVariable

预设值:null

IUserVariable 的父资料夹,预设会从根资料夹取得变数。

备注

此变数可用于 KINGSTAR 示波器 及即时记录档。

回传值

型别:ReadOnlyCollection<T>

回传使用者定义变数清单(无符号短整数)。

可用的 EtherCAT 状态

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

参见

BaseSubsystem 类别

IntervalZero.KINGSTAR.Base.Class 命名空间